export let tableOption = [{
    title: 'ID',
    key: 'id'
    // sortable: true
  },

  {
    title: '公司名称',
    key: 'company_name'

  },
   {
    title: '手机号',
    key: 'mobile'

  },
  {
    title: '主账号ID',
    key: 'business_id'

  },
  {
    title: '账号类型',
    key: 'company_type',
     render: (h, params) => {
      let txt = ''
      switch (params.row.company_type) {
        case 0:
          txt = '单体药店'
          break
        case 1:
          txt = '诊所/卫生室/医院'
          break
        case 2:
          txt = '连锁总部'
          break
          case 3:
          txt = '连锁加盟/直营'
          break
          case 4:
          txt = '商业公司'
          break
          case 5:
          txt = '医疗器械经营店'
          break
      };

      return h('span', txt)
      }

  },
   {
    title: '状态',
    key: 'check_estate',
     render: (h, params) => {
      let txt = ''
      switch (params.row.check_estate) {
        case 1:
          txt = '通过'
          break
        case 2:
          txt = '申请中'
          break
          case 3:
          txt = '拒绝'
          break
      }

      return h('span', txt)
      }

  },
  {
    title: '申请人Id',
    key: 'user_id'

  },
  {
    title: '申请人联系电话',
    key: 'user_mobile'

  },
  {
    title: '创建时间',
    key: 'create_time'

  },

  {
    title: '操作',
    slot: 'action'
  }
]
